<?php if(is_array($homeContent) && count($homeContent) > 0) { ?>
<div class="investment-guide">
	<div class="row-fluid">
		<?php foreach ($homeContent as $item) { ?>
		<div class="item span4">
			<?php if($item['type'] == 'PostProperty') { ?>
			<h3><a href="<?php echo base_url(); ?>addyourproperty">Post Property</a></h3>
			<?php } ?>
			<?php if($item['type'] == 'Tool') { ?>
			<h3><a href="<?php echo base_url(); ?>home-loan/calculator">Tools</a></h3>
			<?php } ?>
			<?php if($item['type'] == 'Enquiry') { ?>
			<h3><a href="<?php base_url(); ?>contact-us.html">Enquiry</a></h3>
			<?php } ?>
			<div class="row-fluid">
				<div class="text span12 post-property">
					<p><?php echo $item['content']; ?></p>
				</div>
			<!-- /.logo -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.item -->
		<?php } ?>
	</div>
</div>
<?php } else { ?>
<div class="investment-guide">
	<div class="row">
		<div class="item span3">
			<h3><a href="<?php echo base_url(); ?>addyourproperty">Post Property</a></h3>
			<div class="row">
				<div class="text span3 post-property">
					<p>Provide Seller and Landlord to expose more potential buyers and tenants.</p>
				</div>
			<!-- /.logo -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.item -->
	
		<div class="item span3">
			<h3><a href="<?php echo base_url(); ?>home-loan/calculator">Tools</a></h3>
			<div class="row">
				<div class="text span3 tools">
					<p>Provide Real Estate Buyers for an estimation of Home Loan Calculation.
				</p>
				</div>
			<!-- /.logo -->
			</div>
		<!-- /.row -->
		</div>
		<!-- /.item -->
	
	<div class="item span3">
		<h3><a href="<?php base_url(); ?>contact-us.html">Enquiry</a></h3>
		<div class="row">
			<div class="text span3 enquiry">
				<p>All enquiry is welcome, please leave us your name and contacts and a 
			  short note and we will get back to you.</p>
			</div>
			<!-- /.logo -->
		</div>
		<!-- /.row -->
	</div>
	<!-- /.item -->
	</div>
</div>
<!-- /.features -->
<?php } ?>
